SharedAndroidLintConventionPlugin

class SharedAndroidLintConventionPlugin : Plugin<Project>

Convention plugin applying the shared Android Lint configuration.

Reuses the existing com.android.application / com.android.library Lint extension when present, otherwise applies the standalone com.android.lint plugin so non-Android JVM modules can be linted too. Turns on checkDependencies and disables the noisy GradleDependency check (version-bump nags belong to Renovate, not Lint).

No xmlReport/sarifReport toggles: AGP 9 deprecated both and now always generates the reports. CI consumes them as the LINT_XML_REPORT / LINT_SARIF_REPORT (or AGGREGATED_*) artifacts.

Apply with id("shared.android.lint").

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun apply(target: Project)